package com.yhtech.utils;

public class PageBean {
	
	private int totalPage;
	private int totalRecord;
	private int start;
	private int end;
	
	
	public int getTotalPage() {
		return  (int) Math.ceil(totalRecord/(SystemConstants.pageSize*1.0));
	}
	public int getTotalRecord() {
		return totalRecord;
	}
	public void setTotalRecord(int totalRecord) {
		this.totalRecord = totalRecord;
	}
	public int getStart() {
		return start;
	}
	public void setStart(int start) {
		this.start = start;
	}
	public int getEnd() {
		return end;
	}
	public void setEnd(int end) {
		this.end = end;
	}
	
}
